package com.qcq.springcloud.service;

import com.qcq.springcloud.mapper.UserMapper;
import com.qcq.springcloud.pojo.User;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author ：qcq
 * @date ：Created in 2020/11/26 20:10
 * @description：
 */
@Service
public class UserService {

    @Autowired
    private UserMapper userMapper;

    public User queryByUsername(String username) {
        return userMapper.queryByUsername(username);
    }

}
